package com.zy.restApi;

/**
 * @program: shopping153_cloud
 * @description:
 * @author: zy
 * @create: 2025-08-23 11:03
 */

import com.zy.bean.Contributor;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import java.util.List;

@Produces("application/json")
public interface GitHub2_javax {
    @GET
    @Path("/repos/{owner}/{repo}/contributors")
    List<Contributor> contributors(@PathParam("owner") String owner, @PathParam("repo") String repo);

}
